package main

import "fmt"

func main() {
	var a []int = []int{1, 2, 3}
	fmt.Printf("a = %v, len = %d, cap = %d\n", a, len(a), cap(a))
	b := append(a, 1)
	fmt.Printf("a = %v, len = %d, cap = %d\n", a, len(a), cap(a))
	fmt.Printf("b = %v, len = %d, cap = %d\n", b, len(b), cap(b))
}
